﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebDulich.Repository
{
    public interface IRepositoryBase<T>
    {
        T Insert(T record);
        bool Update(T record);
        bool Remove(string id);
        List<T> GetAll(int pIndex, int pSize, bool? active);
        T Get(string id);
    }
}
